export default{
    test(state){
        alert('调用父mutaions成功')
    },
    EditAccFromListById(state,account,id){
        ;
    },
    DeleAccFromListById(state,id){
        ;
    },
    AddAccToList(state,account){
        ;
    },
    GetAccList(state,list){
        state.AccList=state.AccList.concat(list);
    },
    ClearAccList(state){
        state.AccList=[];
    },
    RestLastId(state){
        state.lastid='';
    },
    SetLastId(state,id){
        state.lastid=id;
    },
    ChangeAllowInfinite(state,value){
        state.allowInfinite=value;
    },
    ChangeShowPreloader(state,value){
        state.showPreloader=value;
    },
    ChangeDialog(state,dialog){
        state.dialog=dialog;
    },
    //改进异步执行结果反馈
    setAsyncResult(state,res){
        state.result=res;
    },
    setDialogHidde(state){
        state.result.show=false;
    },
}